package com.cloudptt.api.product.device;

import android.media.AudioManager;

public class PNC380 implements IDevice {
	public final static String THIS_FILE = "PNC380";
	private static final String BRAND = "qcom";
	private static final String DEVICE = "msm8909";
	private static final String MODEL = "PNC380";

	public PNC380()
	{
		
	}
	public static boolean isThisDev(String brand,String device,String model){
		if(brand == null
				|| device == null
				|| model == null){
			return false;
		}
		else if(BRAND.equals(brand)
				&& DEVICE.equals(device)
				&& MODEL.equals(model)){
			return true;
		}
		return false;
	}
	@Override
	public int getStreamType()
	{
		return AudioManager.STREAM_VOICE_CALL;
	}
	@Override
	public int getRingerMode() {
		// TODO Auto-generated method stub
		return AudioManager.MODE_NORMAL;
	}
	@Override
	public int getPrivateCallMode() {
		// TODO Auto-generated method stub
		return AudioManager.MODE_IN_COMMUNICATION;
	}
	@Override
	public int getOtherCallMode() {
		// TODO Auto-generated method stub
		return AudioManager.MODE_NORMAL;
	}

	@Override
	public boolean isSpecialLockScreen() {
		// TODO Auto-generated method stub
		return false;
	}
	@Override
	public boolean isSupportCameraSwitch() {
		// TODO Auto-generated method stub
		return true;
	}
	@Override
	public boolean isSetSndAfterFloorTaken()
	{
		return true;
	}
	@Override
	public boolean isSupportAutoUpdate() {
		// TODO Auto-generated method stub
		return false;
	}
}
